<h2 class="ngdialog-title">新增/编辑用户</h2>
<form name="employeeAEDialog" form-validate class="ngdialog-main">
    <label class="d-b">
        <span class="w-100px d-ib fs-14 ta-r">账户：</span>
        <input class="w-300px p-5" ng-model="getData.username" name="username" validate='{"required" : "账户不能为空"}' required ng-disabled="!isAdd">
    </label>
    <label class="mt-10 d-b">
        <span class="w-100px d-ib fs-14 ta-r">使用人：</span>
        <input class="w-300px p-5" ng-model="getData.name" name="name" validate='{"required" : "使用人不能为空"}' required ng-disabled="!isAdd">
    </label>
    <label class="mt-10 d-b">
        <span class="w-100px d-ib fs-14 ta-r">密码：</span>
        <input class="w-300px p-5" ng-model="getData.password" placeholder="请输入密码" name="password" validate='{"required" : "密码不能为空"}' required>
    </label>
    <div class="mt-20 ta-c">
        <button class="btn" form-submit="submit()">提交</button>
    </div>
</form>

<style>
    .radio-main input{margin-left: 5px;}
    .ngdialog-main input:disabled{
        background: #e1e1e1;
    }
</style>
